/*
 * =====================================================================================
 *
 *       Filename:  main.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  02/16/2011 10:16:29 AM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  dp (8023), dp8023@gmail.com
 *        Company:  
 *
 * =====================================================================================
 */

#include	"light.h"
#include	<iostream>

using namespace std;

int main(void)
{
	light *plight = new light();
	lightcommand *plc = new lightcommand(plight);
	change *pchange =  new change(plc);

	pchange->open();
	pchange->close();

	delete pchange;
	pchange = NULL;
	delete plc;
	plc = NULL;
	delete plight;
	plight = NULL;

	return 0;
}
